package com.thy.exception.enums;

public enum PatientInfoServiceExpCode {
    USER_NOT_EXIST(10001, "用户不存在"),
    UPDATE_USER_FAILED( 10002, "更新用户失败" ),
    UPDATE_PATIENT_INFO_FAILED( 10003, "更新患者信息失败" ),
    INSERT_PATIENT_INFO_FAILED( 10004, "插入患者信息失败" ),
    USER_HAS_INITIALIZED( 10005, "用户已初始化" ),
    USER_ROLE_NOT_MATCH( 10006, "用户角色不匹配" );
    public final Integer code;
    public final String message;
    PatientInfoServiceExpCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
